<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0">
    <title>灵能百分百</title>
    <link rel="stylesheet/less" href="./css/item.less">
    <link rel="stylesheet/less" href="./css/reset.less">
    <link rel="stylesheet/less" href="./css/common.less">
</head>
<body>
    <header>
        <div class="back"><a href="./index.html">&lt;</a></div>
        <div class="title">灵能百分百</div>
        <div></div>
    </header>
    <!-- 仓鼠管家 -->
    <div class="item-content">
        <div class="title">灵能百分百</div>
        <div class="content">
            <div class="left"><img src="./images/itemlnbfb.jpg" alt=""></div>
            <div class="right">
                <div class="font">
                    <div>状态&nbsp;</div>
                    <span> 至第8话</span>
                </div>
                <div class="font">
                    <div>点击量&nbsp;</div>
                </div>
                <div class="font">
                    <div>动漫类型&nbsp;</div><span> 科幻</span>
                </div>
                <div class="font">
                    <div>动漫地区&nbsp;</div><span> 日本</span>
                </div>
                <div class="font">
                    <div>配音语言&nbsp;</div><span> 日语</span>
                </div>
                <div class="font">
                    <div>上映年份&nbsp;</div><span> 2016年</span>
                </div>
                <div class="font">
                    <div>最后更新&nbsp;</div><span> 2016-08-31</span>
                </div>
            </div>
        </div>
    </div>
    <!-- 动漫下载 -->
    <div class="download">
        <div class="bt">动漫下载</div>
        <div class="title-content">
            <nav id="nav-box">
                <div class="item navactive">FTP下载</div>
                <div class="item">百度网盘下载</div>
            </nav>
            <div class="content" id="content">
                <div class="item active">
                    <div>第8集[灵能百分百][08][红旅首发www.hltm....</div>
                    <div>第7集[灵能百分百][08][红旅首发www.hltm....</div>
                    <div>第6集[灵能百分百][08][红旅首发www.hltm....</div>
                    <div>第5集[灵能百分百][08][红旅首发www.hltm....</div>
                    <div>第4集[灵能百分百][08][红旅首发www.hltm....</div>
                </div>
                <div class="item">
                    暂无内容
                </div>
            </div>
        </div>
    </div>
</body>
</html>
<script src="./js/less.js"></script>
<script src="./js/common.js"></script>
<script src="./js/jquery-3.6.0.min.js"></script>
<script>
    $('#nav-box .item').click(function () {

        // 获取索引
        var index = $(this).index()

        $(this).addClass('navactive').siblings().removeClass('navactive')

        // eq => 匹配索引值 链式操作 => 面向对象编程
        $('#content .item').eq(index).addClass('active').siblings().removeClass('active')

    })
</script>